home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / Tools / Mac / Startups / Startup•ODUtils-Check < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.0 KB  |  23 lines  |  [TEXT/MPS ]

  1. # ODF 1.0d10 introduces a new subsystem: ODUtils.  This subsystem
  2. # is a replacement for the OpenDoc Utilities shipped with the
  3. # OpenDoc SDK.  Nearly all sources in ODUtils are identical to
  4. # the sources in the OpenDoc SDK, but to provide compatibility
  5. # with ODF it was necessary make a few changes to header files.
  6. # In development environments such as CodeWarrior and Symantec C++
  7. # 8.0, it is dangerous to have both the "OpenDoc Utilities" from
  8. # the OpenDoc SDK and the ODUtils from ODF accessible on the header
  9. # file search path.  This script looks to see if the OpenDoc Utilties
  10. # are in their normal location, and if so issues a warning that they
  11. # need to be removed or shielded.
  12.  
  13. set exit 0
  14. set utils "`files -d -o "{FWOpenDocSDK}" | search ":OpenDoc Utilities:"`"
  15. set exit 1
  16.  
  17. if "{utils}" != ""
  18.     Alert "WARNING! The "OpenDoc Utilities" folder is present inside"∂
  19.     "your OpenDoc SDK folder.  This is likely to result in problems"∂
  20.     "when compiling ODF 1 or greater.  Please remove or shield"∂
  21.     "that folder.  See the ODF release notes for more information."
  22. end
  23.